// ==UserScript==
// @name         Pixiv Steam Steam社区图片 维基百科 AO3 Unlocker
// @namespace    http://ss.cdus.club/
// @version      0.2
// @description  try to take over the world!
// @author       Admire
// @match        http*://www.pixiv.net/*
// @include      http*://www.pixiv.net/*
// @include      http*://steamcommunity.com/sharedfiles/filedetails/*
// @grant        none
// ==/UserScript==
        function open_page(url, param) {
            var form = '<form action="' + url + '"  target="_blank"  id="windowOpen" style="display:none">';
            for(var key in param) {
                form += '<input name="' + key + '" value="' + param[key] + '"/>';
            }
            form += '</form>';
            $('body').append(form);
            $('#windowOpen').submit();
            $('#windowOpen').remove();
      }
      //var url='https://gitee.com/Admirepowered/Arich/tree/master/README#%E4%BD%BF%E7%94%A8%E7%95%8C%E9%9D%A2';
// var param={a:1};
// open_page(url,param);

(function() {
    'use strict';
//'https://connect.facebook.net/en_US/fbevents.js'
  //  'https://ss.cdus.club/my/fbevents.js'
    // Your code here...

var new_location = location.herf.replace(/https:\/\/connect\.facebook\.net\/en_US\/fbevents\.js/,/https:\/\/ss\.cdus.club\/my\/fbevents\.js/);
location.href =new_location;
//window.open('www.baidu.com');
if(typeof onYouTubeIframeAPIReady == 'function')
    onYouTubeIframeAPIReady();
    //window.open('www.baidu.com');



})();